package com.beagle.njddapp.net;

import java.util.List;

/**
 * @author by cyb on 2019/1/2.
 * retrofit返回
 */

public class BaseOilHttpListResponse<T extends BaseResponseBean> implements BaseResponse {


    /**
     * 返回结果code
     */
    public int code;
    /**
     * 返回数据
     */
    public List<T> results;
    /**
     * 信息描述
     */
    public String desc;
    /**
     * 返回的token
     */
    public String token;

    public int totalCount;

    public int unReadCount;

    @Override
    public String getResponseMsg() {
        return desc;
    }

    @Override
    public int getResponseCode() {
       return code;
    }
}
